//package com.rh.controller;
//import com.rh.result.ResultVo;
//import io.swagger.annotations.Api;
//import org.springframework.web.bind.annotation.*;
//
//@Api(tags = "登陆功能")
//@RestController
//@RequestMapping("/eduservice/user")
//public class EduLoginController {
//
//    /**
//     * log登陆
//     */
//    @PostMapping("login")
//    public ResultVo login(){
//        return ResultVo.ok().data("token","admin");
//    }
//    /**
//     * info
//     */
//    @GetMapping("info")
//    public ResultVo info(){
//        //'roles':'admin','name':'admin','avatar':'https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif'
//        return ResultVo.ok().data("roles","admin").data("name","admin").data("avatar","https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif");
//    }
//}
